#ifndef MYLABEL_H
#define MYLABEL_H

#include <QLabel>
#include <QObject>
class QTimer;
class MyLabel : public QLabel
{
    Q_OBJECT
public:
    MyLabel(QWidget *parent=nullptr);

    void setShow(bool);
signals:
    void signalTheEnd();
private slots:
    void slotTimer();

private:
    int downCount;

    QTimer *timer;
};

#endif // MYLABEL_H
